package com.ruoyi.cart.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 购物车对象 pms_cart
 *
 * @author jorker
 * @date 2024-12-27
 */
public class PmsCart extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long cartId;

    /** 商户id */
    @Excel(name = "商户id")
    private Long merchantId;

    /** 商户名称 */
    @Excel(name = "商户名称")
    private String merchantName;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;


    @Override
    public String toString() {
        return "PmsCart{" +
                "cartId=" + cartId +
                ", merchantId=" + merchantId +
                ", merchantName='" + merchantName + '\'' +
                ", userId=" + userId +
                "} " + super.toString();
    }

    public Long getCartId() {
        return cartId;
    }

    public void setCartId(Long cartId) {
        this.cartId = cartId;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }
}
